package com.tutu.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tutu.commons.pojo.Address;
import com.tutu.commons.utils.R;

import java.util.List;

/**
 * @Program: b2c-cloud-store
 * @Description:
 * @Author: JK.TuTu
 * @ @Version: 1.0
 * @Create: 2022-12-14 11:04
 **/
public interface AddressService extends IService<Address> {
    List<Address> getAddressById(Integer userId);

    R saveAddress(Address address);

    int remove(Integer id);
}
